From: Javier Hernández Date: Wed, 23 Jul 2014 08:24:18 +0000 (+0200) Subject: popupMenu: Fix PopupImageMenuItem X-Git-Tag: archive/raspbian/50.5-1+rpi1~1^2~1013^2^2~2318 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/%22/%22http:/www.example.com/cgi/%22?a=commitdiff_plain;h=eba2b999ed33bb9c77846071bd7e96b140e02b13;p=gnome-shell.git popupMenu: Fix PopupImageMenuItem https://bugzilla.gnome.org/show_bug.cgi?id=733540 --- diff --git a/js/ui/popupMenu.js b/js/ui/popupMenu.js index c9c54c84a..36d7f845e 100644 --- a/js/ui/popupMenu.js +++ b/js/ui/popupMenu.js @@ -378,9 +378,9 @@ const PopupImageMenuItem = new Lang.Class({ this.parent(params); this.label = new St.Label({ text: text }); - this.addActor(this.label); + this.actor.add_child(this.label); this._icon = new St.Icon({ style_class: 'popup-menu-icon' }); - this.addActor(this._icon, { align: St.Align.END }); + this.actor.add_child(this._icon, { align: St.Align.END }); this.setIcon(iconName); },